<template>

  <el-card key="data.id" :body-style="{ padding: '5px' }">
    <!--<img :src="data.img" class="image">-->
    <div>
      <span>{{data.title}}</span>
      <div class="bottom clearfix">
        <time class="time">{{ data.date }}</time>
        <el-button type="text" class="button">查看</el-button>
      </div>
    </div>
  </el-card>

</template>
<style scoped>
  .image {
    width: 100%;
  }

</style>
<script>
  export default {
    name: 'downloadItem',
    props: {
      data: {
        type: Object,
        default: null
      }
    }

  }

</script>
